API Documentation
ObjEncoder.h
1 // ObjEncoder.h
3 //
5 
6 namespace nkGraphics
7 {
13  class ObjEncoder final
14  {
15  public :
16 
17  // Decoding
24  static bool canDecode (const nkMemory::BufferView<>& sources) ;
35  static DecodedData decode (const nkMemory::BufferView<>& sources, const ObjDecodeOptions& options = ObjDecodeOptions()) ;
36  } ;
37 }
nkGraphics::ObjEncoder
Allows to work with the Obj format.
Definition: ObjEncoder.h:14
nkMemory::BufferView
A view over data.
Definition: BufferView.h:18
nkGraphics::ObjEncoder::canDecode
static bool canDecode(const nkMemory::BufferView<> &sources)
nkGraphics::ObjDecodeOptions
Describes all options available when decoding the obj format.
Definition: ObjDecodeOptions.h:24
nkGraphics::ObjEncoder::decode
static DecodedData decode(const nkMemory::BufferView<> &sources, const ObjDecodeOptions &options=ObjDecodeOptions())
nkGraphics::DecodedData
Holds the result of an Encoder's decoding operation.
Definition: DecodedData.h:12
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7